
<script>
  import $ from 'dfish-widget'
  import Text from './Text.vue'
  import {compare} from '../widget.common.js'

  export default {
    mixins: [Text],
    data() {
      return {
        name: 'Password',
        remark: '密码输入框',
        attrs: [
          compare,
          {
            name: 'clearable',
            type: 'Boolean',
            remark: '是否可以清空',
            option: '',
          },
        ],
				examples: [{
				  remark: '',
				  type: 'html',
					view: true,
				  code: `
				    <template>
				      <w-password name="psw" :label="{text: '密码'}"></w-password>
				    </template>
				  `
				}]
      }
    }
  }
</script>

<style>
</style>
